package www.cslc.com.smokeTest.service;

import www.cslc.com.Util.JsonUtil;
import www.cslc.com.smokeTest.dto.BusinessSmokeResponseVO;
import www.cslc.com.smokeTest.dto.LBSmokeResponse;
import www.cslc.com.smokeTest.dto.ManageSmokeResponseVO;


public class SmokeService {
	public ManageSmokeResponseVO jsonToManageSmokeResponseObj(String json) {
		ManageSmokeResponseVO smokeVo=new ManageSmokeResponseVO();
		smokeVo = JsonUtil.jsonToPojo(json, ManageSmokeResponseVO.class);
		return smokeVo;
	}
	
	
	public BusinessSmokeResponseVO jsonToBusinessSmokeResponseObj(String json) {
		BusinessSmokeResponseVO smokeVo=new BusinessSmokeResponseVO();
		smokeVo = JsonUtil.jsonToPojo(json, BusinessSmokeResponseVO.class);
		return smokeVo;
	}
	
	public LBSmokeResponse jsonToLBSmokeResponseObj(String json) {
		LBSmokeResponse smokeVo=new LBSmokeResponse();
		smokeVo = JsonUtil.jsonToPojo(json, LBSmokeResponse.class);
		return smokeVo;
	}
}
